package inputOutput;


import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;

import ecole.infrastructure.Batiment;
import ecole.organisation.Ecole;



import reservation.Reservation;




public abstract class Serialisation {
   
   
   protected Batiment batiment;
   protected static List<Reservation> reservation;
   protected Ecole ecole;
   
   public Serialisation(){
	   ecole = null;
       batiment = new Batiment();
   } 
   
   
   public abstract void sauvegarder(Ecole ecole) throws IOException ;  
   public abstract Ecole chargerEcole() throws IOException;
   
   public abstract void sauvegarder(Batiment batiment) throws IOException ;  
   public abstract Batiment chargerBatiment() throws IOException;
   
   public abstract List<Reservation> chargerReservation() throws IOException;
   public abstract void sauvegarder(List<Reservation> reservation) throws IOException;
   
  
}
